package com.ma.entity;

import java.io.Serializable;
import java.time.LocalDateTime;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author ldc
 * @since 2023-08-28
 */
@Getter
@Setter
@ApiModel(value = "Doctor对象", description = "")
public class Doctor implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("医生id")
    private Integer id;

    @ApiModelProperty("姓名")
    private String name;

    @ApiModelProperty("职称id")
    private Integer jobId;

    @ApiModelProperty("性别")
    private String sex;

    @ApiModelProperty("所属科室")
    private Integer departmentId;

    @ApiModelProperty("状态：0-禁用；1-启用")
    private Integer status;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty("密码")
    private String password;

    @ApiModelProperty("判断是否为管理员。1-管理员；0-普通")
    private Integer isAdmin;

    @ApiModelProperty("逻辑删除。1-删除；0-未删除")
    private int deleted;
}
